﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace ConcurrencyAPI.ViewModels
{
     [DataContract]
    public class ReturnJsonInfo<T>
    {
        /// <summary>
        /// 0 means fail
        /// 1 means success
        /// </summary>
        [DataMember]
        public int status { get; set; }
        [DataMember]
        public string message { get; set; }
        [DataMember]
        public T data { get; set; }
    }
}